package com.tanhua.server.service;

import com.tanhua.model.mongo.Movement;
import com.tanhua.model.vo.MovementsVo;
import com.tanhua.model.vo.PageResult;
import com.tanhua.model.vo.VisitorsVo;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.util.List;

/**
 * @author lifeihu
 * @date 2021/12/26
 * @TIME:18:51
 */
public interface MovementService {
    void publishMovement(Movement movement, MultipartFile[] imageContent) throws IOException;
    PageResult findByUserId(Long userId, Integer page, Integer pagesize);

    PageResult findFriendMovents(Integer page, Integer pageSize);

    PageResult findRecommendMovements(Integer page, Integer pagesize);


    MovementsVo findByMovementId(String id);

    List<VisitorsVo> queryVisitorsList();
}
